
.required-field:before {
  
    content: "*";
    color: red;
    margin-left: 2px;
  
  }
h1{
    font-size: 20px;
    font-weight: 400;
    padding: 15px;
    background-color: #EFF1F6;
}
input{
    position: relative;
    width: 60%;
    height: 1.2em;
    border-color: black;
    padding: 0.5em;
    border-radius: 3px;
    color:#595555 ;
  
}
#productiondate{
    width: 200px;
    height: 20px;
}
select{
    width: 60%;
    height: 2.6em;
    border: 2px solid black;
    border-color: black;
    border-radius: 3px;
    color:#595555 ;
}
label{
    line-height: 3em;
    padding:0px 10px;
    margin-top: 10px;
    width:7em; /* 将 label 宽度固定为 50px */
    text-align: right;
    display: inline-block; /* 确保 label 和 input 在同一行 */
}

#editDevice{
    text-align: left;
    margin-left: 20%;
}
#submit,#reset{
    
    padding-bottom: 25PX;
    margin-left: 20px;
    margin-top: 20px;
    width: 6em;
    height: 2em;
}
.form_error{
    position: absolute;
    font-size: 12px;
    padding: 0px 10px;
    width: max-content;
    margin-left: 135px;
    height: 20px;
    color: red;
}
.error {
    color: red;
    font-size: 12px;
}
.error-border {
    border: 1px solid red;
}

#headDiv{
    background-color: rgb(245, 244, 244);
    height: 40px;
}
#logo{
    padding: 5px;
    float: left;
    margin-left: 16px;
}
#title{
    font-family: 楷体, serif ;
    font-size: large;
    font-weight: bold;
    padding: 12px;
    color: #000000;
}
.border{
    padding: 5px;
    border-radius: 3px;
    border-style: none;
    border-color: rgb(239,239,239);
    height: 30px;
    width: 95%;
    font-size: medium;
    font-family: 宋体;

}
table{
    margin-top: 50px;
    margin-left: -30px;
    line-height: 45px;
    font-family: 宋体;
    font-weight: bold;
    font-size: large;
    color: #171717;
    width: 700px;
}
button{
    border-radius: 3px;
    border-style: none;
    background-color: #ffffff;
    height: 40px;
    width: 80px;
    margin: 30px;
}
#button1{
    background-color: rgb(58,139,255);
    color: #ffffff;
}
#essential1,#essential2,#essential3,#essential4,#essential5,#essential6,#essential7,#essential8{
    color: brown;
    /*font-size: large;*/
}
.bkg{
    /* background-image: url('../img/bkg.jpg'); */
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size:cover;
    background-color: rgb(245,244,244);
}